package vip.xiaonuo.sys.fymodule.order.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 平安分账订单补贴
 * </p>
 *
 * @author wangy
 * @since 2025-06-23
 */
@Data
@TableName("sxo_safety_order_subsidy")
@Schema(name = "SxoSafetyOrderSubsidy对象", description = "平安分账订单补贴")
public class SxoSafetyOrderSubsidy implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "自增id")
    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    @Schema(description = "用户ID")
    @TableField("user_id")
    private String userId;

    @Schema(description = "冻结充值订单ID")
    @TableField("safety_order_id")
    private String safetyOrderId;

    @Schema(description = "订单ID")
    @TableField("order_id")
    private String orderId;

    @Schema(description = "订单号")
    @TableField("order_no")
    private String orderNo;

    @Schema(description = "店铺ID")
    @TableField("shop_id")
    private String shopId;

    @Schema(description = "原支付子订单号")
    @TableField("old_pay_sub_order_no")
    private String oldPaySubOrderNo;

    @Schema(description = "原支付订单所属日期")
    @TableField("old_pay_order_date")
    private String oldPayOrderDate;

    @Schema(description = "补贴订单号")
    @TableField("subsidy_order_no")
    private String subsidyOrderNo;

    @Schema(description = "补贴转出子账户")
    @TableField("subsidy_out_sub_acct_no")
    private String subsidyOutSubAcctNo;

    @Schema(description = "补贴转入子账户")
    @TableField("subsidy_in_sub_acct_no")
    private String subsidyInSubAcctNo;

    @Schema(description = "补贴金额")
    @TableField("subsidy_amt")
    private String subsidyAmt;

    @Schema(description = "补贴订单描述")
    @TableField("subsidy_order_desc")
    private String subsidyOrderDesc;

    @Schema(description = "补贴备注")
    @TableField("subsidy_remark")
    private String subsidyRemark;

    @Schema(description = "补贴状态（0：未补贴；1：已补贴；2撤销补贴）")
    @TableField("subsidy_status")
    private Integer subsidyStatus;

    @Schema(description = "补贴、撤销时间")
    @TableField("subsidy_time")
    private String subsidyTime;

    @Schema(description = "交易流水号")
    @TableField("cnsmr_seq_no")
    private String cnsmrSeqNo;

    @Schema(description = "电商见证宝系统生成的流水号")
    @TableField("jzb_accept_seq_no")
    private String jzbAcceptSeqNo;

    @Schema(description = "撤销交易流水号")
    @TableField("rev_cnsmr_seq_no")
    private String revCnsmrSeqNo;

    @Schema(description = "撤退-电商见证宝系统生成的流水号")
    @TableField("jzb_accept_rev_no")
    private String jzbAcceptRevNo;

    @Schema(description = "错误信息")
    @TableField("error_msg")
    private String errorMsg;

    @Schema(description = "删除状态(0:正常；1：删除)")
    @TableField("status")
    private Integer status;

    @Schema(description = "添加时间")
    @TableField("add_time")
    private String addTime;

    @Schema(description = "更新时间")
    @TableField("upd_time")
    private String updTime;
}
